package cn.lm.demo02;

import cn.lm.demo02.domain.Book;
import cn.lm.demo02.utils.TBookHelper;

import java.sql.SQLException;

public class main {
    public static void main(String[] args) throws SQLException, ClassNotFoundException {
        TBookHelper tBookHelper = new TBookHelper();

        //Book book = new Book(9,"Javac架构师","李白",333.2);

        //tBookHelper.add(book);

        //Book book = new Book(6,"Javac架构师进阶","杜甫",112.5);
        //tBookHelper.update(book,9);

        //tBookHelper.delete(6);

        tBookHelper.query();
    }
}
